package com.ruizhong.PIW.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 表格字段表
 * </p>
 *
 * @author fengweijie
 * @since 2023-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_table_column")
public class TTableColumn implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 表格id
     */
    private Integer tableId;

    /**
     * 字段编号
     */
    private Integer columnId;

    /**
     * 字段顺序
     */
    private Integer ordered;
    /**
     * 单元格宽度
     */
    private Integer width;

    private String belongSystem;
}
